package com.community.service;

import com.community.pojo.EmployeeRole;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 * 员工角色关联表 服务类
 * </p>
 *
 * @author TangHaoSong Fly ChenJie HeYuHang
 * @since 2024-05-15
 */
public interface IEmployeeRoleService extends IService<EmployeeRole> {

    /**
     * 根据员工id,插入角色
     * @param employeeId
     * @param roleId
     */
    void batchAddRoles(Integer employeeId, List<Integer> roleId);
}
